using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class ReduceInfo
    {
        #region Model
        private int _id = 0;
        private int _activeid = 0;
        private int _hourcount = 0;
        private int _state = 0;
        private DateTime _lastedittime = DateTime.Parse("2015-01-01 00:00:00");
        private DateTime _createdate = DateTime.Parse("2015-01-01 00:00:00");

        //拓展字段
        private string _name = "";
        private string _statetext = "";
        /// <summary>
        /// 唯一ID
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 活动ID
        /// </summary>
        public int ActiveID
        {
            set { _activeid = value; }
            get { return _activeid; }
        }
        /// <summary>
        /// 每小时点击数量
        /// </summary>
        public int HourCount
        {
            set { _hourcount = value; }
            get { return _hourcount; }
        }
        /// <summary>
        /// 状态（1.执行中  2.已暂停  3.已结束）
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 最后扣款时间
        /// </summary>
        public DateTime LastEditTime
        {
            set { _lastedittime = value; }
            get { return _lastedittime; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 活动名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public string StateText
        {
            set { _statetext = value; }
            get { return _statetext; }
        }
        #endregion Model
    }
}

